# Form implementation generated from reading ui file 'src/eric7/Snapshot/SnapWidget.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_SnapWidget(object):
    def setupUi(self, SnapWidget):
        SnapWidget.setObjectName("SnapWidget")
        SnapWidget.resize(550, 450)
        SnapWidget.setMinimumSize(QtCore.QSize(250, 300))
        self.verticalLayout = QtWidgets.QVBoxLayout(SnapWidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.preview = SnapshotPreview(parent=SnapWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.preview.sizePolicy().hasHeightForWidth())
        self.preview.setSizePolicy(sizePolicy)
        self.preview.setMinimumSize(QtCore.QSize(230, 130))
        self.preview.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
        self.preview.setObjectName("preview")
        self.verticalLayout.addWidget(self.preview)
        self.line = QtWidgets.QFrame(parent=SnapWidget)
        self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(parent=SnapWidget)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.modeCombo = QtWidgets.QComboBox(parent=SnapWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.modeCombo.sizePolicy().hasHeightForWidth())
        self.modeCombo.setSizePolicy(sizePolicy)
        self.modeCombo.setObjectName("modeCombo")
        self.gridLayout.addWidget(self.modeCombo, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(parent=SnapWidget)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.delaySpin = QtWidgets.QSpinBox(parent=SnapWidget)
        self.delaySpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.delaySpin.setObjectName("delaySpin")
        self.horizontalLayout_2.addWidget(self.delaySpin)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout_2, 1, 1, 1, 1)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.decorationsCheckBox = QtWidgets.QCheckBox(parent=SnapWidget)
        self.decorationsCheckBox.setObjectName("decorationsCheckBox")
        self.horizontalLayout_4.addWidget(self.decorationsCheckBox)
        self.mouseCursorCheckBox = QtWidgets.QCheckBox(parent=SnapWidget)
        self.mouseCursorCheckBox.setObjectName("mouseCursorCheckBox")
        self.horizontalLayout_4.addWidget(self.mouseCursorCheckBox)
        self.gridLayout.addLayout(self.horizontalLayout_4, 2, 0, 1, 2)
        self.verticalLayout.addLayout(self.gridLayout)
        self.line_3 = QtWidgets.QFrame(parent=SnapWidget)
        self.line_3.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line_3.setObjectName("line_3")
        self.verticalLayout.addWidget(self.line_3)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_3 = QtWidgets.QLabel(parent=SnapWidget)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        self.pathNameEdit = QtWidgets.QLineEdit(parent=SnapWidget)
        self.pathNameEdit.setReadOnly(True)
        self.pathNameEdit.setObjectName("pathNameEdit")
        self.horizontalLayout_3.addWidget(self.pathNameEdit)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.line_2 = QtWidgets.QFrame(parent=SnapWidget)
        self.line_2.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout.addWidget(self.line_2)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.saveButton = QtWidgets.QPushButton(parent=SnapWidget)
        self.saveButton.setEnabled(False)
        self.saveButton.setObjectName("saveButton")
        self.horizontalLayout.addWidget(self.saveButton)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.copyButton = QtWidgets.QPushButton(parent=SnapWidget)
        self.copyButton.setEnabled(False)
        self.copyButton.setObjectName("copyButton")
        self.horizontalLayout.addWidget(self.copyButton)
        self.copyPreviewButton = QtWidgets.QPushButton(parent=SnapWidget)
        self.copyPreviewButton.setEnabled(False)
        self.copyPreviewButton.setObjectName("copyPreviewButton")
        self.horizontalLayout.addWidget(self.copyPreviewButton)
        spacerItem2 = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.takeButton = QtWidgets.QPushButton(parent=SnapWidget)
        self.takeButton.setObjectName("takeButton")
        self.horizontalLayout.addWidget(self.takeButton)
        self.verticalLayout.addLayout(self.horizontalLayout)

        self.retranslateUi(SnapWidget)
        QtCore.QMetaObject.connectSlotsByName(SnapWidget)
        SnapWidget.setTabOrder(self.modeCombo, self.delaySpin)
        SnapWidget.setTabOrder(self.delaySpin, self.decorationsCheckBox)
        SnapWidget.setTabOrder(self.decorationsCheckBox, self.mouseCursorCheckBox)
        SnapWidget.setTabOrder(self.mouseCursorCheckBox, self.takeButton)
        SnapWidget.setTabOrder(self.takeButton, self.pathNameEdit)
        SnapWidget.setTabOrder(self.pathNameEdit, self.saveButton)
        SnapWidget.setTabOrder(self.saveButton, self.copyPreviewButton)
        SnapWidget.setTabOrder(self.copyPreviewButton, self.copyButton)

    def retranslateUi(self, SnapWidget):
        _translate = QtCore.QCoreApplication.translate
        SnapWidget.setWindowTitle(_translate("SnapWidget", "eric Snapshot"))
        self.label.setText(_translate("SnapWidget", "Snapshot Mode:"))
        self.modeCombo.setToolTip(_translate("SnapWidget", "Select the snapshot mode"))
        self.label_2.setText(_translate("SnapWidget", "Delay:"))
        self.delaySpin.setToolTip(_translate("SnapWidget", "Enter the delay before taking the snapshot"))
        self.delaySpin.setSpecialValueText(_translate("SnapWidget", " No delay"))
        self.delaySpin.setSuffix(_translate("SnapWidget", " s"))
        self.decorationsCheckBox.setToolTip(_translate("SnapWidget", "Select to include the window decorations in the screenshot"))
        self.decorationsCheckBox.setText(_translate("SnapWidget", "include Decorations"))
        self.mouseCursorCheckBox.setToolTip(_translate("SnapWidget", "Select to include the mouse cursor in the screenshot"))
        self.mouseCursorCheckBox.setText(_translate("SnapWidget", "include Mouse Cursor"))
        self.label_3.setText(_translate("SnapWidget", "Path Name:"))
        self.pathNameEdit.setToolTip(_translate("SnapWidget", "Shows the name of the directory used for saving"))
        self.saveButton.setToolTip(_translate("SnapWidget", "Press to save the snapshot"))
        self.saveButton.setText(_translate("SnapWidget", "&Save Snapshot ..."))
        self.copyButton.setToolTip(_translate("SnapWidget", "Press to copy the snapshot to the clipboard"))
        self.copyButton.setText(_translate("SnapWidget", "&Copy"))
        self.copyPreviewButton.setToolTip(_translate("SnapWidget", "Press to copy the snapshot preview to the clipboard"))
        self.copyPreviewButton.setText(_translate("SnapWidget", "Copy &Preview"))
        self.takeButton.setToolTip(_translate("SnapWidget", "Press to take a snapshot"))
        self.takeButton.setText(_translate("SnapWidget", "&Take Snapshot ..."))
from eric7.Snapshot.SnapshotPreview import SnapshotPreview
